<!doctype html>
<html lang="en">
	<head>
		<title>Tween.js / relative values</title>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<link href="css/style.css" media="screen" rel="stylesheet" type="text/css" />
		<style type="text/css">
			.box {
				width: 100px;
				height: 100px;
				margin: 10px;
				padding: 10px;
				display: inline-block;
				float: left;
			}
			#target1 {
				background: #fcc;
			}
		</style>

		<script type="importmap">
			{
				"imports": {
					"@tweenjs/tween.js": "../dist/tween.esm.js"
				}
			}
		</script>

		<script type="module" src="./09_relative_values.js"></script>
	</head>
	<body>
		<div id="info">
			<h1><a href="http://github.com/tweenjs/tween.js">tween.js</a></h1>
			<h2>09 _ relative values</h2>
			<p>Tweening to relative values, with repeat.</p>
		</div>
		<div style="position: absolute; left: 400px">
			<div id="target1" style="position: absolute" data-top="150" data-left="150" class="box"></div>
		</div>
	</body>
</html>
